/*
 * @Descripttion:
 * @Author: xiaodong
 * @Date: 2020-12-16 20:39:17
 * @LastEditTime: 2021-03-03 17:21:36
 * @FilePath: \cloud-monitor-server\src\configs\app.js
 */
/**
 *  === app config ===
 *  项目应用的配置
 *
 *
 */
import env from "~/src/configs/env";
import path from "path";

// 开发环境配置
const local = {
  name: "云设计监控平台本地环境",
  port: 3000,
  proxy: false,
  absoluteLogPath: path.resolve(__dirname, "../../", "log"),
};
// 开发环境配置
const development = {
  name: "云设计监控平台开发环境",
  port: 8234,
  proxy: false,
  absoluteLogPath: path.resolve(__dirname, "../../", "log"),
};
// 测试环境配置
const test = {
  name: "云设计监控平台测试环境",
  port: 8234,
  proxy: false,
  absoluteLogPath: path.resolve(__dirname, "../../", "log"),
};
const vprod= {
  name: "云设计监控平台类生产环境",
  port: 8234,
  proxy: false,
  absoluteLogPath: path.resolve(__dirname, "../../", "log"),
};
// 线上环境配置
const prod = {
  name: "云设计监控平台正式环境",
  port: 8234,
  proxy: false,
  absoluteLogPath: path.resolve(__dirname, "../../", "log"),
};
let config = {
  local,
  development,
  test,
  vprod,
  prod,
};

export default config[env];
